home *** CD-ROM | disk | FTP | other *** search
- Subject: Error in ODFDraw (was Re: Unknown Error in OpenDoc or P.E.
- Sent: 9/13/96 2:55 PM
- Received: 9/13/96 2:55 PM
- From: Scott Adler <sadler@spss.com>
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- >
- >>
- >> I've just made some modifications to my part, and now whenever I close my
- >> part I get the message: "An unknown error has occurred in OpenDoc or a
- >> part editor." and the document closes, but it the process is still
- >> running.
- >>
- >> I know how to kill the process, but how do I track down what could be
- >> causing this problem?
- >>
- >> It started happening after I implemented dragging in my part (if that
- >> helps).
- >
- > Do you have MacsBug installed? If so, aren't you dropping into that with
- > some assert message?
- >
- > I was getting the same error message when I forgot to dead strip some
- > resources, but I was also getting an assert msg in MacsBug.
-
- OK, after installing the debug version of ODFLib I get the errors, and I
- tracked down the bug to an aborted drag causing the problem. I can
- recreate it using ODFDraw (rev 1).
-
- here are the steps:
- 1. open a new ODFDraw doc.
- 2. create a simple shape.
- 3. drag the shape, but have the drag aborted (let it go in the menu bar
- for example).
- 4. Close the document
-
- you then get the debug string:
- FW_CFixedAllocator: An object of type FW_CPriv{BW|Color}PatternRep has
- not been deleted prop
-
- which results in the Unknown OpenDoc error.
-
- What's up with that?
-
- -Scott Adler